package com.javaee.term.form;

import lombok.Data;


import javax.validation.constraints.*;
import java.math.BigDecimal;
import java.text.SimpleDateFormat;
import java.util.Arrays;
import java.util.Date;

/**
 * author 陈伯瑞
 * date 2019/12/16 0016 19:13
 * version 1.0
 **/
@Data
public class ContactForm {
    private String contactId;

    @NotBlank(message = "客户必填")
    private String customerId;

    @NotNull(message = "客户必填")
    private Integer manId;


    @NotEmpty(message = "合同商品不能为空")
    private String[] productId;

    @NotEmpty(message = "合同商品数量错误")
    private Integer[] productQuantity;

}
